package cn.wetcland.urban.generator.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName ut_car_template
 */
@Data
@TableName(value ="ut_car_template")
public class UtCarTemplate implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long carTemplateId;

    /**
     * 车容量
     */
    private Integer carCapacity;

    /**
     * 品牌
     */
    private String carBrand;

    /**
     * 系列
     */
    private String carSerial;

    /**
     * 上级ID 0为父ID 其他则为对应的子ID
     */
    private Long parentId;

    /**
     * 
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableLogic
    private Integer isDelete;
    /**
     *
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}